<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<div class="report_query">
	<style>
		.animate-repeat.ng-leave {
			position: relative;
			left: 0;
			-webkit-transition: all 0.2s;
			transition: all 0.2s;
		}
		.animate-repeat.ng-leave.ng-leave-active {
			left: 100%;
		}
	</style>
	<div ng-include="'html/component/report.html'" ng-controller="ReportIndexCtrl"></div>
	<div class="report_main report_cont hyfx_cont">
		<ul class="tap_list">
			<li class="{{buttonCurr=='0'?'tap_btn curr':'tap_btn'}}" ng-click="memberIncrease()">
				<!--会员增长量年度分析-->
				{{language.TIPS_REPORT_VIP_ADD_ANALYSE_YEAR}}
			</li>
			<li class="{{buttonCurr=='1'?'tap_btn curr':'tap_btn'}}" ng-click="memberPrice()">
				<!--会员客单价分析-->
				{{language.TIPS_REPORT_VIP_PRICE_ANALYSE}}
			</li>
			<li class="{{buttonCurr=='2'?'tap_btn curr':'tap_btn'}}" ng-click="memberPreasent()">
				<!--会员礼品领用报表-->
				{{language.TIPS_REPORT_VIP_RECEIVE}}
			</li>
			<li class="{{buttonCurr=='3'?'tap_btn curr':'tap_btn'}}" ng-click="memberBirthday()">
				<!--会员生日报表-->
				{{language.TIPS_REPORT_BIRTHDAY}}
			</li>
		</ul>
		<div class="report_form">
			<p class="form_title" ng-show="buttonCurr == '0'">
				<!--会员增长量年度分析-->
				{{language.TIPS_REPORT_VIP_ADD_ANALYSE_YEAR}}
			</p>
			<div class="form_cont" ng-show="buttonCurr == '0'">
				<div id="chart_goods_stock" style="height: 400px; width: 800px; margin:0 auto; padding-top: 10px;"></div>
			</div>
			<ul class="hykdj_seach" ng-show="buttonCurr == '1'">
				<li>
					<label><!--导购员工号-->{{language.TIPS_REPORT_SALESMAN_NUMBER}}：</label>
					<input type="text" ng-model="date.guideCode" required/>
				</li>
				<li>
					<label><!--选择时间-->{{language.TIPS_REPORT_SELECT_TIME}}：</label>
					<input type="date" required ng-model="date.time_start"/>
				</li>
				<li>
					<label>-</label>
					<input type="date" required ng-model="date.time_end"/>
				</li>
				<li class="btn_group_fr">
					<span class="btn" ng-click="search_data(date);"><!--查询-->{{language.ACT_INQUIRE}}</span>
				</li>
			</ul>
			<p class="form_title" ng-show="buttonCurr == '1'" ng-click = 'sjqk();'>
				<!--数据情况-->
				{{language.TIPS_PROMOTION_VALIDITY}}<span class="triangle" ng-class="{true:'',false:'down'}[sjqk_show]"></span>
			</p>
			<table class="form_cont" ng-show="buttonCurr == '1'&&sjqk_show">
				<tr>
					<th><!--成交金额-->{{language.TIPS_REPORT_AMOUNT}}（￥）</th>
					<th><!--成交顾客数-->{{language.TIPS_REPORT_DEL_CLIENT_NUM}}</th>
					<th><!--成交会员数-->{{language.TIPS_REPORT_DEL_VIP_NUM}}</th>
					<th><!--成交笔数-->{{language.TIPS_REPORT_DEL_NUM}}</th>
					<th><!--成交商品数-->{{language.TIPS_REPORT_DEL_GOODS_NUM}}</th>
					<th><!--客单价-->{{language.TIPS_REPORT_TICKET_SALES}}（￥）</th>
				</tr>
				<tr>
					<td>{{guidePerformance.total_money}}</td>
					<td>{{guidePerformance.count}}</td>
					<td>{{guidePerformance.is_vip_num}}</td>
					<td>{{guidePerformance.count}}</td>
					<td>0</td>
					<td>0</td>
				</tr>
				<tr>
					<td><!--日均交易额-->{{language.TIPS_REPORT_ACG_DAILY_TURNOVER}}:{{0}}</td>
					<td><!--日均交易顾客数-->{{language.TIPS_REPORT_AVG_DATLY_CLIENTNUM}}:{{0}}</td>
					<td><!--日均交易会员数-->{{language.TIPS_REPORT_AVG_VIP_NUM}}:{{0}}</td>
					<td><!--日均成交笔数-->{{language.TIPS_REPORT_AVG_NUM}}:{{0}}</td>
					<td><!--日均成交商品数-->{{language.TIPS_REPORT_AVG_GOODS_NUM}}:{{0}}</td>
					<td></td>
				</tr>
			</table>
			<p class="form_title" ng-show="buttonCurr == '1'" ng-click="kdfb()">
				<!--客单分布图-->
				{{language.TIPS_REPORT_CLIENT_TABLE}}<span class="triangle" ng-class="{true:'',false:'down'}[kdfb_show]"></span>
			</p>
			<div class="form_cont" ng-show="buttonCurr == '1'&&kdfb_show">
				<div id="chart_goods_stock1" style="height:400px; width:800px; margin:0 auto; padding-top: 10px;"></div>
			</div>
            <p class="form_title" ng-show="buttonCurr == '1'" ng-click="ldlfb()">
                <!--连带率分布图-->
                {{language.TIPS_REPORT_ASSOCIATED_RATE}}<span class="triangle" ng-class="{true:'',false:'down'}[ldlfb_show]"></span>
            </p>
            <div class="form_cont" ng-show="buttonCurr == '1'&&ldlfb_show">
                <div id="chart_goods_stock2" style="height:400px; width:800px; margin:0 auto; padding-top: 10px;"></div>
            </div>
			<!--这里是会员礼品领用报表-->
			<ul class="hykdj_seach" ng-show="buttonCurr == '2'">
				<li>
					<label><!--选择时间-->{{language.TIPS_REPORT_SELECT_TIME}}：</label>
					<input type="date" required ng-model="date.time_start"/>
				</li>
				<li>
					<label>-</label>
					<input type="date" required ng-model="date.time_end"/>
				</li>
				<li class="btn_group_fr">
					<span class="btn" ng-click="search_data(date);"><!--查询-->{{language.ACT_INQUIRE}}</span>
				</li>
			</ul>
			<table class="form_cont form_cont_nott" ng-show="buttonCurr == '2'">
				<tr>
					<th>{{language.TIP_SALE_TIME}}</th>
					<th>{{language.TIPS_TEL}}</th>
					<th>{{language.TIPS_GUIDE_GOODS_CODE}}</th>
					<th>{{language.TIPS_GUIDE_GOODS_NAME}}</th>
					<th>{{language.TIPS_CASHIER_NUM}}</th>
					<th>{{language.TIPS_CASHIER_MONEY}}</th>
					<th>{{language.TIPS_CASHIER_GUIDE}}</th>
				</tr>
				<tr>
					<td colspan="4">{{language.TIPS_CASHIER_TOTAL}}</td><td>0</td><td>0</td><td></td>
				</tr>
				<tr>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
			</table>
			<!--这里是会员生日报表-->
			<ul class="hykdj_seach" ng-show="buttonCurr == '3'">
				<li>
					<label>{{language.TIPS_MEMBER_SEARCH_MONTH}}</label>
					<select>
						<option>1</option>
						<option>2</option>
					</select>
				</li>
				<li>
					<label>{{language.TIPS_VIP_LEVEL}}</label>
					<select>
						<option>1</option>
						<option>2</option>
					</select>
				</li>
				<li>
					<label>{{language.TIPS_GUIDE}}</label>
					<select>
						<option>1</option>
						<option>2</option>
					</select>
				</li>
				<li class="btn_group_fr">
					<span class="btn" ng-click="search_data(date);"><!--查询-->{{language.ACT_INQUIRE}}</span>
				</li>
			</ul>
			<table class="form_cont form_cont_nott" ng-show="buttonCurr == '3'">
				<tr>
					<th>{{language.TIPS_CARD_NO}}</th>
					<th>{{language.TIPS_SET_NAME}}</th>
					<th>{{language.TIPS_VIP_LEVEL}}</th>
					<th>{{language.TIPS_BIRTHDAY}}</th>
					<th>{{language.TIPS_TEL}}</th>
					<th>{{language.TIPS_CURR_INTEGRAL}}</th>
					<th>{{language.TIPS_MEMBER_PAY_DATA}}</th>
					<th>{{language.TIPS_MEMBER_PAY_MONEY}}</th>
				</tr>
				<tr>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
					<td>0</td>
				</tr>
			</table>
		</div>
	</div>
</div>
